//
//  UIColor+Hex.h
//  wangcai
//
//  Created by WZB on 16/3/28.
//  Copyright © 2016年 wanttreasure.com. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIColor (Hex)
+ (UIColor *)colorWithHex:(long)hexColor;
+ (UIColor *)colorWithHex:(long)hexColor alpha:(float)opacity;

+(UIColor *)colorWithHexString:(NSString *)hexString;
+(NSString *)hexValuesFromUIColor:(UIColor *)color;
- (BOOL)isEqualToColor:(UIColor *)otherColor;


/**
 随机色
 */
+ (UIColor *)RandomColor;
@end
